<?php
/**
* The grid layout for our index file.
*
* @package fructa
* @since fructa 1.0
*/
?>
<div class="f-grid  container">
	<div class="row-fluid f-grid-row">
		<div class="span6 f-grid-txt f-grid-heigth grid-bg1">
			<?php
			$the_query = new WP_Query('name=Quality-P01');
			if ($the_query->have_posts()) {
				while ($the_query->have_posts()) {
					$the_query->the_post();
					the_content();
				}
			}
			?>
		</div>
		<div class="span6">
			<div class="f-grid-txt f-grid-margin grid-bg2">
				<?php
				$the_query = new WP_Query('name=Quality-P02');
				if ($the_query->have_posts()) {
					while ($the_query->have_posts()) {
						$the_query->the_post();
						the_content();
					}
				}
				?>
			</div>
			<div class="f-hidePhone f-grid-img">
				<?php
				$the_query = new WP_Query('name=Quality-P03');
				if ($the_query->have_posts()) {
					while ($the_query->have_posts()) {
						$the_query->the_post();
						the_content();
					}
				}
				?>
			</div>
		</div>
	</div><!--  End of grid block  -->

	<div class="row-fluid f-grid-row">
		<div class="span4 f-grid-img f-hidePhone">
			<?php
			$the_query = new WP_Query('name=Quality-P04');
			if ($the_query->have_posts()) {
				while ($the_query->have_posts()) {
					$the_query->the_post();
					the_content();
				}
			}
			?>
		</div>
		<div class="span8 f-grid-txt f-grid-heigth grid-bg3">
			<?php
			$the_query = new WP_Query('name=Quality-P05');
			if ($the_query->have_posts()) {
				while ($the_query->have_posts()) {
					$the_query->the_post();
					the_content();
				}
			}
			?>
		</div>
	</div><!--  End of grid block  -->
</div><!-- f-grid -->